package cn.zyy.hotel.service;

import cn.zyy.hotel.entity.Room;
import cn.zyy.hotel.vo.RoomVO;

import java.util.List;

public interface RoomService {

    //查询房间列表
    List<Room> selectRoomListByPage(RoomVO roomVo);

    //添加房间
    int addRoom(Room room);

    //修改房间
    int updateRoom(Room room);

    //删除房间
    int deleteRoomById(Integer id);

    //根据楼层查询房间列表
    List<Room> selectRoomList();

    //查询房间详情
    Room selectById(Integer id);



}
